(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  ["pages/product/category/category"], {
    "0c4d": function (t, e, n) {
      "use strict";
      (function (t) {
        n("77a0");
        o(n("66fd"));
        var e = o(n("621b"));

        function o(t) {
          return t && t.__esModule ? t : {
            default: t
          }
        }
        t(e.default)
      }).call(this, n("543d")["createPage"])
    },
    "24a7": function (t, e, n) {
      "use strict";
      var o = n("dfed"),
        r = n.n(o);
      r.a
    },
    "5e38": function (t, e, n) {
      "use strict";
      n.d(e, "b", (function () {
        return r
      })), n.d(e, "c", (function () {
        return a
      })), n.d(e, "a", (function () {
        return o
      }));
      var o = {
          wanlDirect: function () {
            return n.e("components/wanl-direct/wanl-direct").then(n.bind(null, "0bd1"))
          },
          wanlShare: function () {
            return Promise.all([n.e("common/vendor"), n.e("components/wanl-share/wanl-share")]).then(n.bind(null, "f256"))
          }
        },
        r = function () {
          var t = this,
            e = t.$createElement,
            n = (t._self._c, 1 == t.common.appStyle.category_style ? t.__map(t.common.modulesData.categoryModules, (function (e, n) {
              var o = t.__get_orig(e),
                r = t.$wanlshop.oss(e.image, 350, 150);
              return {
                $orig: o,
                g0: r
              }
            })) : null),
            o = 2 == t.common.appStyle.category_style ? t.__map(t.common.modulesData.categoryModules, (function (e, n) {
              var o = t.__get_orig(e),
                r = t.$wanlshop.oss(e.image, 80, 80);
              return {
                $orig: o,
                g1: r
              }
            })) : null,
            r = 3 == t.common.appStyle.category_style ? t.__map(t.common.modulesData.categoryModules, (function (e, n) {
              var o = t.__get_orig(e),
                r = t.currentTab == n && t.common.adData.categoryAdverts[e.id] ? t.__map(t.common.adData.categoryAdverts[e.id], (function (e, n) {
                  var o = t.__get_orig(e),
                    r = t.$wanlshop.oss(e.media, 350, 0, 1);
                  return {
                    $orig: o,
                    g2: r
                  }
                })) : null,
                a = t.currentTab == n ? t.__map(e.childlist, (function (e, n) {
                  var o = t.__get_orig(e),
                    r = t.$wanlshop.oss(e.image, 60, 60);
                  return {
                    $orig: o,
                    g3: r
                  }
                })) : null;
              return {
                $orig: o,
                l2: r,
                l3: a
              }
            })) : null,
            a = 4 == t.common.appStyle.category_style ? t.__map(t.common.modulesData.categoryModules, (function (e, n) {
              var o = t.__get_orig(e),
                r = t.currentTab == n && t.common.adData.categoryAdverts[e.id] ? t.__map(t.common.adData.categoryAdverts[e.id], (function (e, n) {
                  var o = t.__get_orig(e),
                    r = t.$wanlshop.oss(e.media, 350, 0, 1);
                  return {
                    $orig: o,
                    g4: r
                  }
                })) : null,
                a = t.currentTab == n ? t.__map(e.childlist, (function (e, n) {
                  var o = t.__get_orig(e),
                    r = t.__map(e.childlist, (function (e, n) {
                      var o = t.__get_orig(e),
                        r = t.$wanlshop.oss(e.image, 60, 60);
                      return {
                        $orig: o,
                        g5: r
                      }
                    }));
                  return {
                    $orig: o,
                    l6: r
                  }
                })) : null;
              return {
                $orig: o,
                l5: r,
                l7: a
              }
            })) : null,
            c = t.$wanlshop.appstc("/common/logo.png");
          t.$mp.data = Object.assign({}, {
            $root: {
              l0: n,
              l1: o,
              l4: r,
              l8: a,
              g6: c
            }
          })
        },
        a = []
    },
    "621b": function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("5e38"),
        r = n("a9e1");
      for (var a in r) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return r[t]
        }))
      }(a);
      n("24a7");
      var c, i = n("f0c5"),
        s = Object(i["a"])(r["default"], o["b"], o["c"], !1, null, null, null, !1, o["a"], c);
      e["default"] = s.exports
    },
    a9e1: function (t, e, n) {
      "use strict";
      n.r(e);
      var o = n("e575"),
        r = n.n(o);
      for (var a in o) "default" !== a && function (t) {
        n.d(e, t, (function () {
          return o[t]
        }))
      }(a);
      e["default"] = r.a
    },
    dfed: function (t, e, n) {},
    e575: function (t, e, n) {
      "use strict";
      Object.defineProperty(e, "__esModule", {
        value: !0
      }), e.default = void 0;
      var o = n("2f62");

      function r(t, e) {
        var n = Object.keys(t);
        if (Object.getOwnPropertySymbols) {
          var o = Object.getOwnPropertySymbols(t);
          e && (o = o.filter((function (e) {
            return Object.getOwnPropertyDescriptor(t, e).enumerable
          }))), n.push.apply(n, o)
        }
        return n
      }

      function a(t) {
        for (var e = 1; e < arguments.length; e++) {
          var n = null != arguments[e] ? arguments[e] : {};
          e % 2 ? r(Object(n), !0).forEach((function (e) {
            c(t, e, n[e])
          })) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : r(Object(n)).forEach((function (e) {
            Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e))
          }))
        }
        return t
      }

      function c(t, e, n) {
        return e in t ? Object.defineProperty(t, e, {
          value: n,
          enumerable: !0,
          configurable: !0,
          writable: !0
        }) : t[e] = n, t
      }
      var i = {
        data: function () {
          return {
            wanlsys: this.$wanlshop.wanlsys(),
            height: 0,
            currentTab: 0,
            scrollTop: 0,
            modalName: null,
            scrollAnimation: 300
          }
        },
        computed: a({}, (0, o.mapState)(["common", "statistics", "cart"])),
        onLoad: function () {
          this.height = this.wanlsys.windowHeight - this.wanlsys.height, wx.showShareMenu({
            withShareTicket: !0,
            menus: ["shareAppMessage", "shareTimeline"]
          })
        },
        methods: {
          swichNav: function (t) {
            var e = t.currentTarget.dataset.current;
            if (this.currentTab == e) return !1;
            this.currentTab = e, this.checkCor()
          },

          
          showModal: function (t) {
            var e = this;
            "share" == t && "share" != this.modalName && setTimeout((function () {
              e.scrollAnimation = 0
            }), 300), this.modalName = t
          },
          hideModal: function (t) {
            t ? this.showModal(t) : this.modalName = null
          },
          checkCor: function () {
            this.currentTab > 7 ? this.scrollTop = 500 : this.scrollTop = 0
          },
          productList: function (t, e) {
            this.$wanlshop.to("/pages/product/list?data=".concat(JSON.stringify({
              category_id: t,
              category_name: e
            })))
          },
          productSearch: function (t) {
            this.$wanlshop.to("/pages/product/search?keywords=".concat(t), "fade-in", 100)
          }
        }
      };
      e.default = i
    }
  },
  [
    ["0c4d", "common/runtime", "common/vendor"]
  ]
]);